<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    <h:head>
        <title>Banco da Amazônia</title>
    </h:head>
    <div align="center" id="creditos">
        <h:graphicImage library="imagem" name="logo.jpg"/>
    </div>
    
    <body bgcolor="#CEF6D8">
        <h:body>
            <h:form>
                <div align="center">
                    <h1>
                        <font color="green">
                            <h:outputText value="BEM VINDO" /><br/><br/>
                        </font>
                    </h1>
                    Efetue Login <br/>
                    Login: <h:inputText id="login"  value="#{     loginBean.login}"/><br/>
                    Senha: <h:inputSecret id="senha"  value="#{     loginBean.senha}"/><br/>

                    <h:commandButton value="Login" action="#{loginBean.login()}"/><br/><br/>
                    <a href="faces/CadastroUsuario.xhtml"> Cadastrar Novo Usuario </a>
                    
                </div>
            </h:form>
        </h:body>
    </body>
</html>

